
/**
 * 
 * @param {前台接口} app 
 */
const indexRouter = function(app) {
    const { controller } = app;
    return [
        {
            'method': 'post',
            'path': '/app/index/index',
            'name': controller.app.index.index,
            'title': '前台首页'
        },
        {
            'method': 'post',
            'path': '/app/goods/details',
            'name': controller.app.goods.details,
            'title': '商品详情'
        },
    ]
}

module.exports = indexRouter